Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose paddle.version.show API and add doc for it #36800

Merged
merged 3 commits into from
Oct 28, 2021

Conversation

pangyoki
Copy link
Contributor

@pangyoki pangyoki commented Oct 27, 2021

PR types

New features

PR changes

APIs

Describe

As mentioned in PR #36556 , expose paddle.version.show API and add doc for it.

paddle.version.show will return the version of paddle package if it's tagged. Otherwise, paddle.version.show will return the commit-id.

link: http://10.136.157.23:8090/documentation/docs/zh/api/index_cn.html?reviewVersion=jenkins-doc-review-1577

图片

图片

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@pangyoki pangyoki changed the title Expose paddle.version.show() and add doc for paddle.version.show API Expose paddle.version.show API and add doc for it Oct 27, 2021
# major: 2
# minor: 2
# patch: 0
# rc: 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

show可以打印下编译时使用的cuda 和 cudnn的版本信息,比如:
cuda: 10.x.x
cudnn: 8.x.x

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已打印cuda和cudnn信息

Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pangyoki pangyoki merged commit d88c3e1 into PaddlePaddle:develop Oct 28, 2021
pangyoki added a commit to pangyoki/Paddle that referenced this pull request Oct 28, 2021
PaddlePaddle#36800)

* add doc for show() in paddle.version

* fix format

* print cuda and cudnn in show API
ghost pushed a commit to piotrekobi/Paddle that referenced this pull request Nov 3, 2021
* add doc for show() in paddle.version

* fix format

* print cuda and cudnn in show API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants